package com.itheima.mapper;

import com.itheima.domain.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*
 * 持久层接口
 * */
public interface EmpMapper {
    //查询所有的员工
    List<Emp> findAll();

    Emp findByNameAndPwd(@Param("eid") String id, @Param("ename") String ename);
}

